# This file contains the special one time events that will be part of the game. 

init python:
    sh_ask_dale = False
    sh_ask_james = False
    sh_ask_chris = False
    sh_date = None
    ld_date = None
    talent_show_act = None
    
    
    
    event("special_generic", "act == 'special'", event.solo(), priority=200)
    event("special_ghost", "act == 'special' and day==3", event.once(), priority=100)
    event("special_announce_ghost", "act == 'breakfast' and day==3", event.once(), priority=10)
    event("special_announce_talent_night", "act == 'breakfast' and day==5", event.once(), priority=10)
    event("special_announce_sadie_hawkins", "act == 'breakfast' and day==4", event.once(), priority=10)
    event("special_announce_final_display", "act == 'breakfast' and day==11", event.once(), priority=10)
    event("special_capture_the_flag", "act == 'special' and day==4", event.once(), priority=100)
    event("special_late_night_swim", "act == 'special' and day==6", event.once(), priority=100)
    event("special_sadie_hawkins", "act == 'special' and day==7", event.once(), priority=100)
    event("special_square_dancing", "act == 'special' and day==10", event.once(), priority=100)
    event("special_trail_ride", "act == 'special' and day==11", event.once(), priority=100)
    event("special_canoe_trip", "act == 'special' and day==12", event.once(), priority=100)
    event("special_last_dance", "act == 'special' and day==13", event.once(), priority=100)

    
label special_generic:
label special_capture_the_flag:
label special_late_night_swim:
label special_announce_final_display:
label special_square_dancing:
label special_trail_ride:
label special_canoe_trip:
    "Something happened"
    return

label special_sadie_hawkins:
    
    if sh_date == "Dale":
        call dale_sadie_hawkins_dance
    "The dance was really boring."
    "TODO: Write this scene"
    
    return
    
label special_last_dance:
    
    #you can't actually get Dale as a date for the last dance
    if sh_date == "Dale":
        call dale_last_dance
    "The last dance was really boring."
    "TODO: Write this scene"
    
    return
    
label special_announce_sadie_hawkins:
    scene bg lodge
    show tamarra normal
    
    tamarra "This friday will be our annual Sadie Hawkins Dance."
    tamarra "This dance is rather special. Just like me."
    tamarra "For this dance, the girls ask the boys to the dance."
    tamarra "The catch is: the boy isn't allowed to say no!"

    
label special_sadie_hawkins_ask:
    
    "Whom should I ask to the dance?"
    $ ask_menu = [
        ("Don't ask anyone", "none"),
        ]
        
    if sh_ask_dale == False and bus_dale == True:
        $ ask_menu.append( ("Dale","dale") )
        
    if sh_ask_james == False and bus_james == True:
        $ ask_menu.append( ("James","james") )
        
    if sh_ask_chris == False and bus_chris == True:
        $ ask_menu.append( ("Chris","chris") )
        
        
    $ result = renpy.display_menu(ask_menu)
    
    if result == "dale":
        $ sh_ask_dale = True
        call dale_ask_sadie_dance
    return
    
    
label special_announce_ghost:
    tamarra "We will be telling stories this evening near the docks."
    return
    
label special_announce_talent_night:
    tamarra "There will be a talent show this Saturday."
    tamarra "You should start teams."
    return    
    
label special_ghost:
    "I hear some ghost stories."
    return
    